﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using Skynet.ServiceContracts.MessageContracts;

namespace Skynet.ServiceProxies
{
    public class SkynetLibraryServiceProxy : ClientBase<Skynet.ServiceContracts.ISkynetLibraryService>, Skynet.ServiceContracts.ISkynetLibraryService
    {
        public SkynetLibraryServiceProxy() { }
        public SkynetLibraryServiceProxy(string endpointconfig)
            : base(endpointconfig)
        {
 
        }
        public FindCategoryResponse FindExamCategories(FindCategoryRequest request)
        {            
            return   this.Channel.FindExamCategories(request);
        }

        public UpdateExamCategoryResponse UpdateExamCategory(UpdateExamCategoryRequest request)
        {
            return this.Channel.UpdateExamCategory(request);
        }

        public string GetStatus()
        {
            return Channel.GetStatus();
        }

        public void LogService(string Message)
        {
            Channel.LogService(Message);
        }

        public MaintenanceExamCategoryResponse MaintenanceExamCategory(MaintenanceExamCategoryRequest request)
        {
            return this.Channel.MaintenanceExamCategory(request);
        }

        public MaintenanceQuestionsResponse MaintenanceQuestion(MaintenanceQuestionsRequest request)
        {
            return this.Channel.MaintenanceQuestion(request);
        }
    }
}
